home *** CD-ROM | disk | FTP | other *** search
- Path: weck.brokersys.com!not-for-mail
- From: jguthrie@brokersys.com
- Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
- Subject: Re: Hungarian notation
- Date: 2 Jan 1996 16:03:45 -0600
- Organization: Executel/IBS Internet Services
- Message-ID: <4cca41$3l5@weck.brokersys.com>
- References: <30C40F77.53B5@swsbbs.com> <marnoldDJEvtJ.1Lx@netcom.com> <4aleun$jlk@ns.RezoNet.NET> <marnoldDJMDBG.CFz@netcom.com> <4asnkr$7b0@solutions.solon.com> <4ath75$e7i@barnacle.iol.ie> <4b4kij$svt@news.microsoft.com> <dewar.819489496@schonberg> <4bd <4cc2b2$11jq@navajo.gate.net>
- NNTP-Posting-Host: weck.brokersys.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Michael Feathers (feathers@gate.net) wrote:
-
- : Where I work, all the truly portable code is written in terms of
- : typedefs. We alter the typedefs in an include file to alter data
- : sizes and performance characeristic, and our variant of Hungarian
- : uses these type names.
-
- Why don't you just abandon the type declarations completely and use a
- prefix on the variable names to define the type? Hey, wait a minute.
- I've seen this BEFORE! What was it called? FORTRAN, wasn't it? And
- how about how those old microcomputer BASICs used suffixes to determine
- types?
-
- The more things change, the more they stay the same.
-
- My attitude remains the same: Any naming convention works better than
- none, but embedding the type in the name is probably a bad idea.
-
-